package com.cx.caigou.request.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class SpareVo {
    @ApiModelProperty(value = "备件id")
    private Integer id;
    @ApiModelProperty(value = "备件编码")
    @NotBlank(message = "备件编码不能为空")
    private String spareCoding;
    @ApiModelProperty(value = "备件名称")
    @NotBlank(message = "备件名称不能为空")
    private String spareName;
    @ApiModelProperty(value = "备件moq")
    private Integer moq;
    @ApiModelProperty(value = "交货周期")
    private Integer deliveryCycle;
    @NotBlank(message = "备件数量不能为空")
    @ApiModelProperty(value = "备件数量")
    private Integer InquiryQty;

    private Integer spareId;
}
